<template>
    <div>
        <Row style="line-height: 35px;">
            <Col span='2'>
                <b>基础信息</b>
            </Col>
            <Col span='9' offset="1">
                <span>一级风险单元：{{InputData.saRiskInfo.riskUnitName}}</span>
            </Col>
            <Col span='9' offset="1">
                <span>二级风险单元：{{InputData.saRiskInfo.riskUnit2}}</span>
            </Col>
        </Row>
        <Row style="line-height: 35px" class="detail-background-clor">
            <Col span='9' offset="3">
                <span>三级风险单元：{{InputData.saRiskInfo.riskUnit3}}</span>
            </Col>
            <Col span='9' offset="1">
                <span>四级风险单元：{{InputData.saRiskInfo.riskUnit4}}</span>
            </Col>
        </Row>
        <Row style="line-height: 35px">
            <Col span='9' offset="3">
                <span>人员岗位：{{InputData.saRiskInfo.personnelPosition}}</span>
            </Col>
            <Col span='9' offset="1">
                <span>风险类别：{{InputData.saRiskInfo.riskTypeName}}</span>
            </Col>
        </Row>
        <Row style="line-height: 35px" class="detail-background-clor">
            <Col span='20' offset="3">
                <span>风险识别维度：{{InputData.saRiskInfo.rikDiscernName}}</span>
            </Col>
        </Row>
        <Row style="line-height: 35px">
            <Col span='20' offset="3">
                <span>风险描述：{{InputData.saRiskInfo.riskDesc}}</span>
            </Col>
        </Row>
        <hr style="margin-top: 10px;color: #dcdcdc"/>
        <Row style="line-height: 35px;margin-top: 10px">
            <Col span='2'>
                <b>风险评价</b>
            </Col>
            <Col span='6' offset="1">
                <span>可能性L：{{InputData.lVal}}</span>
            </Col>
            <Col span='6' offset="1">
                <span>暴露程度E：{{InputData.eVal}}</span>
            </Col>
            <Col span='6' offset="1">
                <span>后果严重程度C：{{InputData.cVal}}</span>
            </Col>
        </Row>
        <Row style="line-height: 35px" class="detail-background-clor">
            <Col span='6' offset="3">
                <span>风险值D：{{InputData.dVal}}</span>
            </Col>
            <Col span='6' offset="1">
                <span>风险等级R：{{InputData.rikRankName}}</span>
            </Col>
            <Col span='6' offset="1">
                        <span>风险警示色：
                            <span v-if="InputData.rikColor=='红'" style="color: red">{{InputData.rikColor}}</span>
                            <span v-else-if="InputData.rikColor=='橙'"
                                  style="color: orange">{{InputData.rikColor}}</span>
                            <span v-else-if="InputData.rikColor=='黄'"
                                  style="color: #FDD835">{{InputData.rikColor}}</span>
                            <span v-else-if="InputData.rikColor=='蓝'" style="color: blue">{{InputData.rikColor}}</span>
                            <span v-else style="color: white">{{InputData.rikColor}}</span>
                        </span>
            </Col>
        </Row>
        <hr style="margin-top: 10px;color: #dcdcdc"/>
        <Row style="line-height: 35px;margin-top: 10px">
            <Col span='2'>
                <b>风险管控</b>
            </Col>
            <Col span='9' offset="1">
                <span>风险防范措施(技术、管理、教育)：{{InputData.saRiskManage.manageMeasure}}</span>
            </Col>
            <Col span='9' offset="1">
                <span>应急措施(救治、处置)：{{InputData.saRiskManage.emerMearsure}}</span>
            </Col>
        </Row>
      <Row style="line-height: 35px" class="detail-background-clor">
        <Col span='9' offset="3">
          <span>责任部门：{{ InputData.saRiskManage.dutyOrgName }}</span>
        </Col>
        <Col span='9' offset="1">
          <span>责任人：{{ InputData.saRiskManage.dutyPersonName }}</span>
        </Col>
      </Row>
      <Row style="line-height: 35px">
        <Col span='9' offset="3">
          <span>审核人：{{ InputData.saRiskAssess.checkerName }}</span>
        </Col>
        <Col span='9' offset="1">

        </Col>
      </Row>
      <Row style="line-height: 35px" class="detail-background-clor">
        <Col span='9' offset="3">
          <span>关注层面：{{ InputData.saRiskManage.focusAspect }}</span>
        </Col>
        <Col span='9' offset="1">
          <span>关注周期：{{ InputData.saRiskManage.focusCycle }}</span>
        </Col>
        <!--<Col span='6' offset="3">-->
        <!--<span>审核人：{{InputData.saRiskAssess.checkerName}}</span>-->
        <!--</Col>-->
      </Row>
      <Row style="line-height: 35px">
        <Col span='9' offset="3">
          <span>录入人：{{ InputData.saRiskManage.recorder }}</span>
        </Col>
        <Col span='9' offset="1">
          <span>录入时间：{{ InputData.saRiskManage.recordeTime }}</span>
        </Col>
      </Row>
    </div>
</template>

<script>
    export default {
        props:['InputData'],
        name: "personnelJobRiskApproval",
        data(){
            return{

            }
        }
    }
</script>

<style scoped>

</style>
